#ifndef BHXJGLWATERWAVE_H
#define BHXJGLWATERWAVE_H
#include "BHXJControls_global.h"
#include "BHXJGLHelper/bhxjglshader.h"
#include "BHXJGLHelper/bhxjglmodel.h"
#include "BHXJGLHelper/bhxjglinclude.h"
#include<vector>
#include "BHXJRegularModel/bhxjglcolumn.h"
#include "BHXJGLHelper/bhxjglttf.h"

class BHXJCONTROLS_EXPORT BHXJGLWaterWave:public BHXJGLModel<BHXJGLFUN *>
{
public:
    BHXJGLWaterWave();

    void Init(QOpenGLFunctions_4_3_Core *arg) override;

    void Paint(const BHXJGLPaintParam &p)override;

    float t(){return _t;}
    void sett(float value){_t=value;}

    glm::vec3 viewPos(){return _viewPos;}
    void setviewPos(glm::vec3 value){_viewPos=value;}
protected:
    float _t=0;
    glm::vec3 _viewPos{0};

};

#endif // BHXJGLWATERWAVE_H
